Integrand size = 24, antiderivative size = 412 \[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=-\frac {77 b^2 e^5 n^2 x^{2/3}}{120 d^5}+\frac {47 b^2 e^4 n^2 x^{4/3}}{240 d^4}-\frac {3 b^2 e^3 n^2 x^2}{40 d^3}+\frac {b^2 e^2 n^2 x^{8/3}}{40 d^2}+\frac {77 b^2 e^6 n^2 \log \left (d+\frac {e}{x^{2/3}}\right )}{120 d^6}+\frac {b e^5 n \left (d+\frac {e}{x^{2/3}}\right ) x^{2/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}-\frac {b e^4 n x^{4/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{4 d^4}+\frac {b e^3 n x^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{6 d^3}-\frac {b e^2 n x^{8/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{8 d^2}+\frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {b e^6 n \log \left (1-\frac {d}{d+\frac {e}{x^{2/3}}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {137 b^2 e^6 n^2 \log (x)}{180 d^6}-\frac {b^2 e^6 n^2 \operatorname {PolyLog}\left (2,\frac {d}{d+\frac {e}{x^{2/3}}}\right )}{2 d^6} \]
[Out]
Time = 0.65 (sec) , antiderivative size = 412, normalized size of antiderivative = 1.00, number of steps used = 24, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {2504, 2445, 2458, 2389, 2379, 2438, 2351, 31, 2356, 46} \[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=\frac {b e^6 n \log \left (1-\frac {d}{d+\frac {e}{x^{2/3}}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}+\frac {b e^5 n x^{2/3} \left (d+\frac {e}{x^{2/3}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}-\frac {b e^4 n x^{4/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{4 d^4}+\frac {b e^3 n x^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{6 d^3}-\frac {b e^2 n x^{8/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{8 d^2}+\frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2-\frac {b^2 e^6 n^2 \operatorname {PolyLog}\left (2,\frac {d}{d+\frac {e}{x^{2/3}}}\right )}{2 d^6}+\frac {77 b^2 e^6 n^2 \log \left (d+\frac {e}{x^{2/3}}\right )}{120 d^6}+\frac {137 b^2 e^6 n^2 \log (x)}{180 d^6}-\frac {77 b^2 e^5 n^2 x^{2/3}}{120 d^5}+\frac {47 b^2 e^4 n^2 x^{4/3}}{240 d^4}-\frac {3 b^2 e^3 n^2 x^2}{40 d^3}+\frac {b^2 e^2 n^2 x^{8/3}}{40 d^2} \]
[In]
[Out]
Rule 31
Rule 46
Rule 2351
Rule 2356
Rule 2379
Rule 2389
Rule 2438
Rule 2445
Rule 2458
Rule 2504
Rubi steps \begin{align*} \text {integral}& = -\left (\frac {3}{2} \text {Subst}\left (\int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x^7} \, dx,x,\frac {1}{x^{2/3}}\right )\right ) \\ & = \frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2-\frac {1}{2} (b e n) \text {Subst}\left (\int \frac {a+b \log \left (c (d+e x)^n\right )}{x^6 (d+e x)} \, dx,x,\frac {1}{x^{2/3}}\right ) \\ & = \frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2-\frac {1}{2} (b n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^6} \, dx,x,d+\frac {e}{x^{2/3}}\right ) \\ & = \frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2-\frac {(b n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^6} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d}+\frac {(b e n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^5} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d} \\ & = \frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {(b e n) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^5} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^2}-\frac {\left (b e^2 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^4} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^2}-\frac {\left (b^2 e n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^5} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{10 d} \\ & = -\frac {b e^2 n x^{8/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{8 d^2}+\frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2-\frac {\left (b e^2 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^4} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^3}+\frac {\left (b e^3 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^3}-\frac {\left (b^2 e n^2\right ) \text {Subst}\left (\int \left (-\frac {e^5}{d (d-x)^5}-\frac {e^5}{d^2 (d-x)^4}-\frac {e^5}{d^3 (d-x)^3}-\frac {e^5}{d^4 (d-x)^2}-\frac {e^5}{d^5 (d-x)}-\frac {e^5}{d^5 x}\right ) \, dx,x,d+\frac {e}{x^{2/3}}\right )}{10 d}+\frac {\left (b^2 e^2 n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^4} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{8 d^2} \\ & = -\frac {b^2 e^5 n^2 x^{2/3}}{10 d^5}+\frac {b^2 e^4 n^2 x^{4/3}}{20 d^4}-\frac {b^2 e^3 n^2 x^2}{30 d^3}+\frac {b^2 e^2 n^2 x^{8/3}}{40 d^2}+\frac {b^2 e^6 n^2 \log \left (d+\frac {e}{x^{2/3}}\right )}{10 d^6}+\frac {b e^3 n x^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{6 d^3}-\frac {b e^2 n x^{8/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{8 d^2}+\frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {b^2 e^6 n^2 \log (x)}{15 d^6}+\frac {\left (b e^3 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^4}-\frac {\left (b e^4 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^4}+\frac {\left (b^2 e^2 n^2\right ) \text {Subst}\left (\int \left (\frac {e^4}{d (d-x)^4}+\frac {e^4}{d^2 (d-x)^3}+\frac {e^4}{d^3 (d-x)^2}+\frac {e^4}{d^4 (d-x)}+\frac {e^4}{d^4 x}\right ) \, dx,x,d+\frac {e}{x^{2/3}}\right )}{8 d^2}-\frac {\left (b^2 e^3 n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^3} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{6 d^3} \\ & = -\frac {9 b^2 e^5 n^2 x^{2/3}}{40 d^5}+\frac {9 b^2 e^4 n^2 x^{4/3}}{80 d^4}-\frac {3 b^2 e^3 n^2 x^2}{40 d^3}+\frac {b^2 e^2 n^2 x^{8/3}}{40 d^2}+\frac {9 b^2 e^6 n^2 \log \left (d+\frac {e}{x^{2/3}}\right )}{40 d^6}-\frac {b e^4 n x^{4/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{4 d^4}+\frac {b e^3 n x^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{6 d^3}-\frac {b e^2 n x^{8/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{8 d^2}+\frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {3 b^2 e^6 n^2 \log (x)}{20 d^6}-\frac {\left (b e^4 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{\left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^5}+\frac {\left (b e^5 n\right ) \text {Subst}\left (\int \frac {a+b \log \left (c x^n\right )}{x \left (-\frac {d}{e}+\frac {x}{e}\right )} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^5}-\frac {\left (b^2 e^3 n^2\right ) \text {Subst}\left (\int \left (-\frac {e^3}{d (d-x)^3}-\frac {e^3}{d^2 (d-x)^2}-\frac {e^3}{d^3 (d-x)}-\frac {e^3}{d^3 x}\right ) \, dx,x,d+\frac {e}{x^{2/3}}\right )}{6 d^3}+\frac {\left (b^2 e^4 n^2\right ) \text {Subst}\left (\int \frac {1}{x \left (-\frac {d}{e}+\frac {x}{e}\right )^2} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{4 d^4} \\ & = -\frac {47 b^2 e^5 n^2 x^{2/3}}{120 d^5}+\frac {47 b^2 e^4 n^2 x^{4/3}}{240 d^4}-\frac {3 b^2 e^3 n^2 x^2}{40 d^3}+\frac {b^2 e^2 n^2 x^{8/3}}{40 d^2}+\frac {47 b^2 e^6 n^2 \log \left (d+\frac {e}{x^{2/3}}\right )}{120 d^6}+\frac {b e^5 n \left (d+\frac {e}{x^{2/3}}\right ) x^{2/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}-\frac {b e^4 n x^{4/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{4 d^4}+\frac {b e^3 n x^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{6 d^3}-\frac {b e^2 n x^{8/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{8 d^2}+\frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {b e^6 n \log \left (1-\frac {d}{d+\frac {e}{x^{2/3}}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {47 b^2 e^6 n^2 \log (x)}{180 d^6}+\frac {\left (b^2 e^4 n^2\right ) \text {Subst}\left (\int \left (\frac {e^2}{d (d-x)^2}+\frac {e^2}{d^2 (d-x)}+\frac {e^2}{d^2 x}\right ) \, dx,x,d+\frac {e}{x^{2/3}}\right )}{4 d^4}-\frac {\left (b^2 e^5 n^2\right ) \text {Subst}\left (\int \frac {1}{-\frac {d}{e}+\frac {x}{e}} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^6}-\frac {\left (b^2 e^6 n^2\right ) \text {Subst}\left (\int \frac {\log \left (1-\frac {d}{x}\right )}{x} \, dx,x,d+\frac {e}{x^{2/3}}\right )}{2 d^6} \\ & = -\frac {77 b^2 e^5 n^2 x^{2/3}}{120 d^5}+\frac {47 b^2 e^4 n^2 x^{4/3}}{240 d^4}-\frac {3 b^2 e^3 n^2 x^2}{40 d^3}+\frac {b^2 e^2 n^2 x^{8/3}}{40 d^2}+\frac {77 b^2 e^6 n^2 \log \left (d+\frac {e}{x^{2/3}}\right )}{120 d^6}+\frac {b e^5 n \left (d+\frac {e}{x^{2/3}}\right ) x^{2/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}-\frac {b e^4 n x^{4/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{4 d^4}+\frac {b e^3 n x^2 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{6 d^3}-\frac {b e^2 n x^{8/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{8 d^2}+\frac {b e n x^{10/3} \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{10 d}+\frac {b e^6 n \log \left (1-\frac {d}{d+\frac {e}{x^{2/3}}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )}{2 d^6}+\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {137 b^2 e^6 n^2 \log (x)}{180 d^6}-\frac {b^2 e^6 n^2 \text {Li}_2\left (\frac {d}{d+\frac {e}{x^{2/3}}}\right )}{2 d^6} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(830\) vs. \(2(412)=824\).
Time = 0.43 (sec) , antiderivative size = 830, normalized size of antiderivative = 2.01 \[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=\frac {1}{4} x^4 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2+\frac {b e n \left (360 a d e^4 x^{2/3}-462 b d e^4 n x^{2/3}-180 a d^2 e^3 x^{4/3}+141 b d^2 e^3 n x^{4/3}+120 a d^3 e^2 x^2-54 b d^3 e^2 n x^2-90 a d^4 e x^{8/3}+18 b d^4 e n x^{8/3}+72 a d^5 x^{10/3}+822 b e^5 n \log \left (d+\frac {e}{x^{2/3}}\right )+360 b d e^4 x^{2/3} \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )-180 b d^2 e^3 x^{4/3} \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )+120 b d^3 e^2 x^2 \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )-90 b d^4 e x^{8/3} \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )+72 b d^5 x^{10/3} \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )-360 a e^5 \log \left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right )-360 b e^5 \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right ) \log \left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right )+180 b e^5 n \log ^2\left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right )-360 a e^5 \log \left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right )-360 b e^5 \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right ) \log \left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right )+180 b e^5 n \log ^2\left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right )+360 b e^5 n \log \left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right ) \log \left (\frac {1}{2}-\frac {\sqrt {-d} \sqrt [3]{x}}{2 \sqrt {e}}\right )+360 b e^5 n \log \left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right ) \log \left (\frac {1}{2} \left (1+\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )-720 b e^5 n \log \left (\sqrt {e}+\sqrt {-d} \sqrt [3]{x}\right ) \log \left (-\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )-720 b e^5 n \log \left (\sqrt {e}-\sqrt {-d} \sqrt [3]{x}\right ) \log \left (\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )+548 b e^5 n \log (x)-720 b e^5 n \operatorname {PolyLog}\left (2,1-\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )+360 b e^5 n \operatorname {PolyLog}\left (2,\frac {1}{2}-\frac {\sqrt {-d} \sqrt [3]{x}}{2 \sqrt {e}}\right )+360 b e^5 n \operatorname {PolyLog}\left (2,\frac {1}{2} \left (1+\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )-720 b e^5 n \operatorname {PolyLog}\left (2,1+\frac {\sqrt {-d} \sqrt [3]{x}}{\sqrt {e}}\right )\right )}{720 d^6} \]
[In]
[Out]
\[\int x^{3} {\left (a +b \ln \left (c \left (d +\frac {e}{x^{\frac {2}{3}}}\right )^{n}\right )\right )}^{2}d x\]
[In]
[Out]
\[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=\int { {\left (b \log \left (c {\left (d + \frac {e}{x^{\frac {2}{3}}}\right )}^{n}\right ) + a\right )}^{2} x^{3} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=\int { {\left (b \log \left (c {\left (d + \frac {e}{x^{\frac {2}{3}}}\right )}^{n}\right ) + a\right )}^{2} x^{3} \,d x } \]
[In]
[Out]
\[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=\int { {\left (b \log \left (c {\left (d + \frac {e}{x^{\frac {2}{3}}}\right )}^{n}\right ) + a\right )}^{2} x^{3} \,d x } \]
[In]
[Out]
Timed out. \[ \int x^3 \left (a+b \log \left (c \left (d+\frac {e}{x^{2/3}}\right )^n\right )\right )^2 \, dx=\int x^3\,{\left (a+b\,\ln \left (c\,{\left (d+\frac {e}{x^{2/3}}\right )}^n\right )\right )}^2 \,d x \]
[In]
[Out]